package com.mjh.partners.mapper;

import com.mjh.partners.pojo.Praise;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Repository
public interface PraiseMapper {
  public Praise getPraise(@Param("eid") int eid, @Param("userid") int userid);
  public boolean addPraise(Praise praise);
  public boolean deletePraise(@Param("eid") int eid, @Param("userid") int userid);
  public boolean deleteByEx(int eid);
}
